// @ts-ignore
/* eslint-disable */
import request from '@/utils/httpInstance';

/** 此处后端没有提供注释 GET /analysis/recent-invoke-count/${param0} */
export async function retrieveRecentDaysInvokeCount(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.retrieveRecentDaysInvokeCountParams,
  options?: { [key: string]: any }
) {
  const { days: param0, ...queryParams } = params;
  return request<API.BaseResponseListRecentInvokeCountVO>(`/analysis/recent-invoke-count/${param0}`, {
    method: 'GET',
    params: { ...queryParams },
    ...(options || {}),
  });
}

/** 此处后端没有提供注释 GET /analysis/top10 */
export async function listTop10InvokedInterface(options?: { [key: string]: any }) {
  return request<API.BaseResponseListInterfaceTotalInvokeCountVO>('/analysis/top10', {
    method: 'GET',
    ...(options || {}),
  });
}
